package com.zwps.extra.http.xxljob.response.message;

import com.zwps.extra.http.response.message.InterfaceResponseDataMessage;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@ToString
@Getter
@Setter
public class ResponseDataMessage<T> extends ResponseMessage implements InterfaceResponseDataMessage<Integer, T> {

    private T data;

    public void setMsg(String msg) {
        this.message = msg;
    }

    public String getMsg() {
        return this.message;
    }

    public void setContent(T msg) {
        this.data = msg;
    }

    public T getContent() {
        return this.data;
    }
}
